package com.webchat.domain.dto.queue;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class MallUserCartMessageDTO extends BaseQueueDTO {

    private String userId;
    private Long shopId;
    private Long skuId;
    private Integer skuCount;
    private Long cartTime;
    private Integer action;

    public MallUserCartMessageDTO(String userId, Long skuId, Integer action) {
        this.userId = userId;
        this.skuId = skuId;
        this.action = action;
    }

    public MallUserCartMessageDTO(String userId, Long shopId, Long skuId, Integer action) {
        this.userId = userId;
        this.shopId = shopId;
        this.skuId = skuId;
        this.action = action;
    }
}
